package com.mazaiting.common.core.ex.runtime;

import com.mazaiting.common.core.domain.result.ResultCode;

/**
 * 验证异常-运行时异常
 *
 * @author mazaiting
 * @create_time 2022/3/25 18:09
 */
public class ValidationException extends BaseRuntimeException {

    public ValidationException(Integer code, String message) {
        super(code, message);
    }

    public ValidationException(Integer code, String message, Throwable cause) {
        super(code, message, cause);
    }

    public ValidationException(Integer code, String message, Throwable cause,
                               boolean enableSuppression,
                               boolean writableStackTrace) {
        super(code, message, cause, enableSuppression, writableStackTrace);
    }

    public ValidationException(ResultCode resultCode) {
        super(resultCode);
    }
}
